*{
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
    color: black;
}
/* 头 */
header{
    width: 100%;
    height: 80px;
    background-color: #ffffff;
    border-bottom: 1px solid black;
    z-index: 9999;
    position: fixed;
}
header>div{
    height: 100%;
    width: 1195px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
/* 猫眼电影图标+地点下拉列表  */
.cat{
    height: 100%;
    width: 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cat>a{
    display: flex;
    align-items: center;
}
.cat>a>img{
    height: 40px;
    width: 40px;
}
.cat>a>h1{
    color: red;
    font-size: 20px;
    margin: 0 20px 0 auto;
}
.cat>ul>li{
    position: relative;
}
.cat>ul>li>a{
    font-size: 16px;
    display: block;
    height: 80px;
    line-height: 80px;
}
.cat>ul>li>a>span{
    font-size: 12px;
    margin: 5px;
    display: inline-block;
}
.cat ul{
    list-style: none;
}
.cat>ul>li:hover>a>span{
    transform: rotate(180deg);
}
.city{
    height: 300px;
    width: 450px;
    position: absolute;
    background-color: white;
    top: 81px;
    left: 0px;
    border: 1px solid gray;
    border-top: 0;
    display: none;
    overflow: auto;
}
.white{
    height: 79px;
    width: 60px;
    position: absolute;
    background-color: transparent;
    top: 0px;
    left: 0px;
    border-left: 1px solid gray;
    border-right: 1px solid gray;
    border-bottom: 5px solid white;
    display: none;
}
.cat>ul>li:hover>.city{
    display: block;
}
.cat>ul>li:hover>.white{
    display: block;
}
.position-city{
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid gray;
}
.position-city>span{
    font-size: 14px;
    display: flex;
    text-indent: 10px;
}
.town{
    width: 100%;
}
.town>span{
    width: 100%;
    display: block;
    height: 28px;
    font-size: 14px;
    line-height: 28px;
    margin: 10px 0;
    text-indent: 10px;
}
/* 导航栏 */
header>div>nav{
    height: 100%;
    width: 400px;
    display: flex;
    justify-content: space-between;
}
header>div>nav>a{
    height: 100%;
    /* width: 80px; */
    font-size: 20px;
    display: block;
    line-height: 80px;
    text-align: center;
}
header>div>nav>a:hover{
    color: red;
}

/* APP下载 搜索框 用户头像 */
.head-left{
    height: 100%;
    width: 470px;
    display: flex;
    justify-content: space-between;
}
/* app */
.app{
    width: 140px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    /* visibility: hidden; */
}
.app>a{
    display: flex;
    align-items: center;
    z-index: 500;
}
.app img{
    height: 38px;
    width: 26px;
}
.app p{
    font-size: 20px;
}
.app span{
    font-size: 12px;
    margin: 5px;
    display: inline-block;
}
.app>div{
    width: 100%;
    height: 200px;
    background-color: white;
    position: absolute;
    top: 0px;
    left: 0;
    display: none;
    z-index: 400;
}
.app:hover>a>span{
    transform: rotate(180deg);
}
.app:hover>div{
    display: block;
    border: 1px solid black;
    border-top: 0;
}
/* 搜索框 */
.search{
    height: 100%;
    width: 260px;
    display: flex;
    align-items: center;
    position: relative;
}
.search>input:nth-child(1){
    height: 40px;
    width: 260px;
    border-radius: 20px;
    outline: none;
    text-indent: 20px;
    font-size: 18px;
    padding-right: 40px;
    border: 1px solid gray;
}
.search>input:nth-child(2){
    display: inline-block;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    outline: none;
    background-image: url("../img/sousuo.png");
    background-position: -10px -14px;
    background-repeat: no-repeat;
    position: absolute;
    top: 20px;
    right: 0;
    /* background-color: #ef4238; */
    border: 0;
    z-index: 1;
}

/* 用户头像 */
.user{
    height: 100%;
    width: 60px;
    display: flex;
    align-items: center;
    position: relative;
}
.user>a{
    display: flex;
    align-items: center;
    z-index: 500;
}
.user>a>img{
    height: 35px;
    width: 35px;
    margin-left: 1px;
}
.user>a>span{
    font-size: 12px;
    margin: 5px;
    display: inline-block;
}
.user>div{
    height: 120px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    background-color: white;
    z-index: 400;

}
.user>div>a{
    font-size: 12px;
    display: block;
    height: 16px;
    width: 100%;
    position: absolute;
    bottom: 10px;
    text-align: center;
}
.user:hover span{
    transform: rotate(180deg);
}
.user:hover>div{
    display: block;
    border: 1px solid black;
    border-top: 0;
}
.user:hover>div>a{
    color: red;
}
/* 脚 */
footer{
    height: 152px;
    width: 100%;
    background-color: #262426;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center
}
footer p{
    width: 100%;
    height: 14px;
    font-size: 14px;
    color: gray;
    margin: 3px;
}
footer a{
    color: red;
}
/* 占位 */
.seat{
    width: 100%;
    height: 81px;
    background-color: transparent;
}